﻿@{
    ViewBag.Title = "TestFeedController";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>TestFeedController</h2>

<div class="eventView">
    <div class="eventList"></div>
</div>
<script id="eventTemplate" type="text/x-jsrender">
    <div class="eventItem" title="{{:id}}">
        <span class="label">{{:title}}
        </span>
    </div>
</script>

@section scripts {


    @CoffeeScripts.Render("~/CoffeeScripts/shared/coffee")
    @CoffeeScripts.Render("~/CoffeeScripts/models/coffee")
    @CoffeeScripts.Render("~/CoffeeScripts/controllers/coffee")
    @Scripts.Render("~/Scripts/coffee-script.js", "~/bundles/waypoint")

    <script type="text/coffeescript">
    $(document).ready(() ->      
       fc = new Cofe.EventView({el : $(".eventView")})
    )
    </script>
}